package com.zhuliwei;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 个人博客前台
 *
 * @author 朱力维
 * @time 2022/10/6 17:54
 **/
@SpringBootApplication
@EnableScheduling
@MapperScan("com.zhuliwei.mapper")
//@EnableSwagger2
public class ZLWBlogApplication {
    // 测试controller
//    public static void main(String[] args) {
//        ConfigurableApplicationContext run = SpringApplication.run(ZLWBlogApplication.class, args);
//        AiController bean = run.getBean(AiController.class);
//        String generation = bean.generation("你好");
//        System.out.println(generation);
//    }
    public static void main(String[] args) {
        SpringApplication.run(ZLWBlogApplication.class, args);
    }
}
